package com.zelix;

import java.io.PrintWriter;
import java.util.*;


public final class bd extends zc {

    private static String z[];

    public bd(it it1, Vector vector, nh nh1)
            throws tb {
        super(it1, vector, nh1);
        if (it1.k()) {
            a(it1.j(), it1.A());
            k();
            l();
        }
    }

    public void a(dd dd1, fd fd1, gd gd1, PrintWriter printwriter) {
        Enumeration enumeration;
        printwriter.println(z[2]);
        enumeration = e();
        while (enumeration.hasMoreElements()) {
            mt mt1 = (mt) enumeration.nextElement();
            String s = (String) super.f.get(mt1);
            String s1 = mt1.m();
            if (s1 != null && s1.length() > 0)
                dd1.c(s1, z[0] + s + "'");
            dd1.a(mt1, z[0] + s + "'");
        }
        Enumeration enumeration1 = f();
        while (enumeration1.hasMoreElements()) {
            lu lu1 = (lu) enumeration1.nextElement();
            String s2 = (String) super.j.get(lu1);
            dd1.a(lu1, z[0] + s2 + "'");
        }
        Enumeration enumeration2 = g();
        while (enumeration2.hasMoreElements()) {
            ou ou1 = (ou) enumeration2.nextElement();
            String s3 = (String) super.h.get(ou1);
            dd1.a(ou1, z[0] + s3 + "'");
        }
        Iterator iterator = super.k.iterator();
        while (iterator.hasNext()) {
            mt mt2 = (mt) iterator.next();
            String s4 = lt.a(mt2.j());
            if (fd1 != null)
                fd1.a(mt2, z[0] + s4 + "'");
            if (gd1 != null)
                gd1.a(mt2, z[0] + s4 + "'");
        }
    }

    public final void a(ed ed1, PrintWriter printwriter) {
        Iterator iterator;
        printwriter.println(z[1]);
        iterator = super.k.iterator();
        while (iterator.hasNext()) {
            mt mt1;
            String s;
            cv cv;
            mt1 = (mt) iterator.next();
            s = lt.a(mt1.j());
            ed1.a(mt1, z[0] + s + "'");
            cv = mt1.U();
            while (cv.hasMoreElements()) {
                lu lu1 = (lu) cv.nextElement();
                ed1.a(lu1, z[0] + s + "'");
            }
            cv cv1 = mt1.cb();
            while (cv1.hasMoreElements()) {
                ou ou1 = (ou) cv1.nextElement();
                ed1.a(ou1, z[0] + s + "'");
            }
        }
    }

    private final void k() {
        int i;
        Hashtable hashtable;
        Vector vector;
        int j;
        i = super.a.size();
        hashtable = new Hashtable();
        vector = new Vector();
        for (j = 0; j < i; j++) {
            Enumeration enumeration;
            gj gj1 = (gj) super.a.elementAt(j);
            enumeration = gj1.i();
            while (enumeration.hasMoreElements()) {
                Object obj = enumeration.nextElement();
                if (!hashtable.containsKey(obj)) {
                    hashtable.put(obj, obj);
                    vector.addElement(obj);
                }
            }
        }
        if (super.b.z() && vector.size() > 0) {
            int i1;
            super.c.println(z[5]);
            for (i1 = vector.size() - 1; i1 >= 0; i1--) {
                super.c.println(z[4] + vector.elementAt(i1) + "\"");
            }
        }
        int i1;
        for (i1 = vector.size() - 1; i1 >= 0; i1--) {
            il il1 = (il) vector.elementAt(i1);
            if (!il1.w()) {
                super.b.e(z[6] + il1 + z[9], true);
            } else if (il1.v()) {
                super.b.e(z[6] + il1 + z[8], true);
            } else if (il1.u())
                super.b.e(z[6] + il1 + z[7] + "+" + z[3], true);
            il1.a(this);
        }
    }

    public final void a(lu lu1, mt mt1) {
        lu lu2 = (lu) super.i.remove(lu1);
        if (lu2 != null) {
            Object obj = super.j.put(lu1, lt.a(mt1.j()));
            mt mt2 = lu1.P();
            if (mt2 != null && !a(mt2))
                a(mt2, mt1);
        }
    }

    public final void a(ou ou1, mt mt1) {
        ou ou2;
        ou2 = (ou) super.g.remove(ou1);
        if (ou2 != null) {
            ArrayList arraylist;
            Object obj = super.h.put(ou1, lt.a(mt1.j()));
            arraylist = ou1.W();
            if (arraylist != null) {
                for (int i = 0; i < arraylist.size(); i++) {
                    mt mt2 = (mt) arraylist.get(i);
                    if (!a(mt2))
                        a(mt2, mt1);
                }
            }
        }
    }

    private void l()
            throws tb {
        Enumeration enumeration;
        enumeration = e();
        Hashtable hashtable = new Hashtable();
        while (enumeration.hasMoreElements()) {
            mt mt1;
            String as[];
            int i;
            mt1 = (mt) enumeration.nextElement();
            String s = mt1.z();
            if (s != null) {
                mt mt2 = fh.a(s);
                if (mt2 != null && !a(mt2))
                    a(mt2, mt1);
            }
            as = mt1.u();
            for (i = 0; i < as.length; i++) {
                String s1 = as[i];
                mt mt3 = fh.a(s1);
                if (mt3 != null && !a(mt3))
                    a(mt3, mt1);
            }
            ju aju[];
            int j;
            aju = mt1.T();
            for (j = 0; j < aju.length; j++) {
                a((lu) aju[j], mt1);
            }
            mu amu[];
            int i1;
            amu = mt1.w();
            for (i1 = 0; i1 < amu.length; i1++) {
                a((ou) amu[i1], mt1);
            }
            HashSet hashset1;
            HashSet hashset2;
            Iterator iterator;
            HashSet hashset = new HashSet();
            hashset1 = new HashSet();
            hashset2 = new HashSet();
            mt1.a(hashset, hashset1, hashset2);
            iterator = hashset.iterator();
            while (iterator.hasNext()) {
                mt mt4 = (mt) iterator.next();
                if (!a(mt4))
                    a(mt4, mt1);
            }
            Iterator iterator1 = hashset1.iterator();
            while (iterator1.hasNext()) {
                lu lu1 = (lu) iterator1.next();
                if (!a(lu1))
                    a(lu1, mt1);
            }
            Iterator iterator2 = hashset2.iterator();
            while (iterator2.hasNext()) {
                ou ou1 = (ou) iterator2.next();
                if (!a(ou1))
                    a(ou1, mt1);
            }
        }
    }

    final void a(Enumeration enumeration, int i) {
        super.e = new Hashtable(px.a(i));
        super.f = new Hashtable(px.a(i));
        super.i = new Hashtable(px.a(i * 5));
        super.j = new Hashtable(px.a(i * 5));
        super.g = new Hashtable(px.a(i * 5));
        super.h = new Hashtable(px.a(i * 5));
        mt mt1;
        cv cv;
        while (enumeration.hasMoreElements()) {
            mt1 = (mt) enumeration.nextElement();
            super.e.put(mt1, mt1);
            cv = mt1.U();
            while (cv.hasMoreElements()) {
                Object obj = cv.nextElement();
                super.i.put(obj, obj);
            }
            cv cv1 = mt1.cb();
            while (cv1.hasMoreElements()) {
                ou ou1 = (ou) cv1.nextElement();
                if (!ou1.U() && !ou1.T())
                    super.g.put(ou1, ou1);
            }
        }
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x11;
                    break;
                case 1:
                    key = 63;
                    break;
                case 2:
                    key = 36;
                    break;
                case 3:
                    key = 60;
                    break;
                default:
                    key = 107;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        String as[];
        as = new String[10];
        as[0] = "WV\\Y\0171\\H]\030b\037\003";
        as[1] = "\030~TL\007hVJ[KeMMQKtGGP\036bVKR\0301LTY\bxYMY\0171]]\034\rxGAX(}^WO\016b\037WH\neZIY\005e";
        as[2] = "\030~TL\007hVJ[KtGGP\036bVKR\0301LTY\bxYMY\0171]]\034\rxGAX(}^WO\016b\037WH\neZIY\005e";
        as[3] = "6\037P]\f?\037pT\0161KE[KfVHPKsZ\004U\f\177PVY\017?";
        as[4] = "\0306\006";
        as[5] = "\030yMD\016u\037GP\nbLAOKa^V]\006tKAN\030+";
        as[6] = "A^V]\006tKANK6";
        as[7] = "6\037MRK6YMD\016u|H]\030bZW\033KbKEH\016|ZJHKr^JR\004e\037QO\0161KLYK6";
        as[8] = "6\037MRK6YMD\016u|H]\030bZW\033KbKEH\016|ZJHKr^JR\004e\037QO\0161KLYK6\003HU\005z\001\003\034\030hQP]\023?\037mHKfVHPKsZ\004U\f\177PVY\017?";
        as[9] = "6\037MRK6YMD\016u|H]\030bZW\033KbKEH\016|ZJHKxL\004R\004e\037E\034\b}^WOKtGGP\036bVKRKa^V]\006tKANE1vP\034\034xSH\034\tt\037M[\005~MAXE";
        for (int i = 0; i < as.length; i++) {
            as[i] = z(as[i].toCharArray());
        }
        z = as;

    }
}